	.text

main:
begin_func_main:
begin_block_0:
	addi $sp, $sp, -4 	# int a
	li $t0, 1
	move $s0, $t0
	bne $s0, $zero, begin_if_0
	beq $s0, $zero, begin_else_0
begin_if_0:
begin_block_1:
	li $t0, 5
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_1:
	b end_if_0
begin_else_0:
begin_block_2:
	li $t0, 6
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_2:
	b end_if_0
end_if_0:
	.data
str0: .asciiz " "
	.text
la $t0, str0
	move $a0, $t0
	li $v0, 4
	syscall 	# print_string
	li $t0, 0
	move $s0, $t0
	bne $s0, $zero, begin_if_1
	beq $s0, $zero, begin_else_1
begin_if_1:
begin_block_3:
	li $t0, 7
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_3:
	b end_if_1
begin_else_1:
begin_block_4:
	li $t0, 8
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_4:
	b end_if_1
end_if_1:
	.data
str1: .asciiz " "
	.text
la $t0, str1
	move $a0, $t0
	li $v0, 4
	syscall 	# print_string
	li $t0, 4
	sw $t0, 0($sp)
	lw $t1, 0($sp)
	slt $t0, $t1, $t0
	move $s0, $t0
	bne $s0, $zero, begin_if_2
	beq $s0, $zero, begin_else_2
begin_if_2:
begin_block_5:
	li $t0, 2
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_5:
	b end_if_2
begin_else_2:
	lw $t0, 0($sp)
	li $t1, 4
	seq $t0, $t0, $t1
	move $s0, $t0
	bne $s0, $zero, begin_if_3
	beq $s0, $zero, begin_else_3
begin_if_3:
begin_block_6:
	li $t0, 3
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_6:
	b end_if_3
begin_else_3:
begin_block_7:
	li $t0, 4
	move $a0, $t0
	li $v0, 1
	syscall 	# print_int
	addi $sp, $sp, 0
end_block_7:
	b end_if_3
end_if_3:
	b end_if_2
end_if_2:
	addi $sp, $sp, 4
end_block_0:
end_func_main:
	jr $ra

